<%@ page 
import="dk.itu.iwjx.beans.*"
errorPage="global/error.jsp" 
import="java.util.*"
%>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> -->
<title>Registration</title>
    <link type="text/css" href="asset/css/style.css" rel="Stylesheet" />
    <script type="text/javascript" src="asset/js/jquery.js"></script>
</head>
<body>

	<div id="register">

   
		<form action="register.do" method="post">
		
		<label>User name: </label>	<br/>	
		<input type="text" name="name">  <br/>
		
		<label>Password: </label> <br/>
		<input type="password" name="password"> <br/>
		
		<label>Confirm Password: </label>	<br/>	
		<input type="password" name="confirmPassword">  <span> >= 6 characters, at least
		1 digit, 1 letter and 1 special</span><br/>
		
		<label>Address: </label><br/>	
		<input type="text" name="address">  <br/>
		
		<label>ZipCode:  </label>	<br/>	
		<input type="text" name="zipcode">  <span>4-digit numbers </span><br/>
		
		<label>E-mail: </label> <br/>
		<input type="text" name="email"> <br/>
		
		
         <label>Phone:  </label>	<br/>	
		<input type="text" name="phone"> <span>8-digit numbers </span>  <br/>
		<input type="submit" value="submit" onClick="">

		</form>
		<div id="error">
		
		<% if(session.getAttribute("error") != null){
			out.println("please check input again !");
		 }%>	
		</div>  
	</div>     


</body>
</html>
